package com.zlt.entity;

import com.zlt.annotation.Column;
import com.zlt.annotation.Id;
import com.zlt.annotation.ManyToOne;
import com.zlt.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Table("online_resume")
public class OnlineResume {

    @Id
    private Integer id;

    @ManyToOne("uid")
    private User user;

    @Column
    private String advantage;

    @Column("expected_position")
    private String expectedPosition;

    @Column
    private String education;

    @Column
    private String internship;

    @Column("min_salary")
    private String minSalary;

    @Column("max_salary")
    private String maxSalary;
}
